package Model;

import java.io.Serializable;

/**
 * 书本类
 * @author ctk-mac
 *
 */
public class book implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int bookid;
	private String bookname;
	private String authorname;
	private String publisher;
	private String pub_date;
	private int numbers;
	public book(){
		
	}
	public book(int bookid, String bookname, String authorname, String publisher, String pub_date, int numbers) {
		super();
		this.bookid = bookid;
		this.bookname = bookname;
		this.authorname = authorname;
		this.publisher = publisher;
		this.pub_date = pub_date;
		this.numbers = numbers;
	}
	public int getBookid() {
		return bookid;
	}
	public void setBookid(int bookid) {
		this.bookid = bookid;
	}
	public String getBookname() {
		return bookname;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public String getAuthorname() {
		return authorname;
	}
	public void setAuthorname(String authorname) {
		this.authorname = authorname;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public String getPub_date() {
		return pub_date;
	}
	public void setPub_date(String pub_date) {
		this.pub_date = pub_date;
	}
	public int getNumbers() {
		return numbers;
	}
	public void setNumbers(int numbers) {
		this.numbers = numbers;
	}
	
}
